package com.woniuxy.coursedao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ordinary_course")
public class OrdinaryCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 普通课程ID
     */
    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    /**
     * 开始时间
     */
    @TableField("course_start_date")
    private String courseStartDate;

    /**
     * 结束时间
     */
    @TableField("course_end_date")
    private String courseEndDate;

    /**
     * 教练ID
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 课程时长
     */
    @TableField("course_duration")
    private Integer courseDuration;

    /**
     * 状态(0.上架 1.下架  2.已满  3.已过期)
     */
    @TableField("course_state")
    private Integer courseState;

    @TableField("course_product_id")
    private Integer courseProductId;

    @TableField("venue_id")
    private Integer venueId;
}
